.root {
    -fx-font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

.title-bar {
    -fx-background-color: #2c3e50;
    -fx-min-height: 32px;
    -fx-max-height: 32px;
}

.title-text {
    -fx-text-fill: white;
    -fx-font-size: 14px;
    -fx-font-weight: bold;
    -fx-padding: 0 8px;
}

.window-controls {
    -fx-alignment: center-right;
    -fx-spacing: 4px;
    -fx-padding: 0 4px;
}

.control-btn, .close-btn {
    -fx-min-width: 32px;
    -fx-max-width: 32px;
    -fx-min-height: 24px;
    -fx-max-height: 24px;
    -fx-background-color: transparent;
    -fx-text-fill: white;
    -fx-font-size: 12px;
    -fx-font-family: "Segoe UI Symbol", "Arial", sans-serif;
    -fx-cursor: hand;
}

.control-btn:hover {
    -fx-background-color: #34495e;
}

.close-btn:hover {
    -fx-background-color: #e74c3c;
}

/* 可选：禁用按钮焦点框 */
.control-btn:focused, .close-btn:focused {
    -fx-focus-color: transparent;
    -fx-faint-focus-color: transparent;
}